﻿<!--
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
-->

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title></title>
    <link rel="stylesheet" href="/css/scenario2_Upload.css">
    <script src="/js/helpers.js"></script>
    <script src="/js/scenario2_Upload.js"></script>
</head>

<body class="win-type-body">
    <div data-win-control="SdkSample.ScenarioInput">
        <p>This shows how to use a StreamWebSocket to send and receive binary data.</p>
        <p>
            <label for="serverAddress">Server address: </label>
            <input type="text" id="serverAddress" value="ws://localhost/WebSocketSample/EchoWebSocket.ashx" size="60" class="win-textbox">
        </p>
        <p>
            <button id="startButton" class="win-button">Start</button>
            <button id="closeButton" class="win-button">Close</button>
        </p>
    </div>
    <div data-win-control="SdkSample.ScenarioOutput">
        <p>
            <label for="dataSent">Data Sent:</label>
            <input type="text" id="dataSent" class="win-textbox">
        </p>
        <p>
            <label for="dataReceived">Data Received:</label>
            <input type="text" id="dataReceived" class="win-textbox">
        </p>
        <div id="outputField">
        </div>
    </div>
</body>

</html>